home *** CD-ROM | disk | FTP | other *** search
/ Java Developer's Companion / Java Developer's Companion.iso / documentation / tutorial / native / implementing / example / NativeExample.c < prev    next >
Encoding:
C/C++ Source or Header  |  1997-07-13  |  963 b   |  23 lines

  1. /* DO NOT EDIT THIS FILE - it is machine generated */
  2. #include <StubPreamble.h>
  3.  
  4. /* Stubs for class NativeExample */
  5. /* SYMBOL: "NativeExample/quote(I)Ljava/lang/String;", Java_NativeExample_quote_stub */
  6. stack_item *Java_NativeExample_quote_stub(stack_item *_P_,struct execenv *_EE_) {
  7.     extern void* NativeExample_quote(void *,long);
  8.     _P_[0].p = NativeExample_quote(NULL,((_P_[0].i)));
  9.     return _P_ + 1;
  10. }
  11. /* SYMBOL: "NativeExample/twoTimes()I", Java_NativeExample_twoTimes_stub */
  12. stack_item *Java_NativeExample_twoTimes_stub(stack_item *_P_,struct execenv *_EE_) {
  13.     extern long NativeExample_twoTimes(void *);
  14.     _P_[0].i = NativeExample_twoTimes(_P_[0].p);
  15.     return _P_ + 1;
  16. }
  17. /* SYMBOL: "NativeExample/doubleUp()LNativeExample;", Java_NativeExample_doubleUp_stub */
  18. stack_item *Java_NativeExample_doubleUp_stub(stack_item *_P_,struct execenv *_EE_) {
  19.     extern void* NativeExample_doubleUp(void *);
  20.     _P_[0].p = NativeExample_doubleUp(_P_[0].p);
  21.     return _P_ + 1;
  22. }
  23.